usb:gadget:f_thor: download_tail(): remove dfu_write with 0 size
authorPrzemyslaw Marczak <[email protected]>
Mon, 12 May 2014 10:05:34 +0000 (12:05 +0200)
committerMarek Vasut <[email protected]>
Wed, 14 May 2014 22:23:56 +0000 (00:23 +0200)
commit584b55b072a94de94b3fe0d54defae87795237d7
treede9cc7720c2505d085e242098f6ec8b42c83d153
parent1aa4bdc82db1e0393a461e0cd908d88418e1f632
usb:gadget:f_thor: download_tail(): remove dfu_write with 0 size

Since dfu_flush() can write raw data, dfu_write() with zero size
can be removed from download_tail() in thor gadget.

Signed-off-by: Przemyslaw Marczak <[email protected]>
Cc: Lukasz Majewski <[email protected]>
Cc: Heiko Schocher <[email protected]>
Cc: Marek Vasut <[email protected]>
drivers/usb/gadget/f_thor.c